package factory.factory;import factory.simpleFactory.Pizza;/** * Created by Administrator on 2018-10-22. */public abstract  class PizzaStore {    public Pizza orderPizza(String type){        Pizza pizza ;        pizza = createPizza(type);        pizza.bake();        pizza.cut();        pizza.prepare();        pizza.box();        return pizza;    }    abstract Pizza createPizza(String type);}